package com.example.demo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class ChatroomVo {
    private Integer id;

    private Integer activity_id;

    private Integer user_id;

    private String avatar;
    private String username;

    private String context;

    private String type;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime send_time;
}
